import { createSSRApp } from "vue";
import { setupStore } from '@/store';
import App from "./App.vue";

export function createApp() {
	const app = createSSRApp(App);
	
  setupStore(app);
	
	app.config.globalProperties.$serverImg = import.meta.env.VITE_serverImg;
	app.config.globalProperties.$webUrl = import.meta.env.VITE_webview;

	return {
		app
	};
}
